<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<link href="style/bootstrap.min.css" rel="stylesheet">

		<script type="text/javascript" src="script/jquery.js"></script>
		<script type="text/javascript" src="script/login.js"></script>

		<style type="text/css">
body {
	padding-top: 40px;
}

.xlarge {
	height: 28px;
}

.label {
	margin-left: 10px;
	font-size: 13px;
	display: none;
}
</style>
	<body>

		<div class="topbar" data-dropdown="dropdown">
			<div class="topbar-inner">
				<div class="container">
					<h3>
						<a href="#">登录系统</a>
					</h3>
					<ul class="nav">
						<li class="active">
							<a href="#">主页</a>
						</li>
						<li>
							<a href="#">注册</a>
						</li>
						<li>
							<a href="#">帮助</a>
						</li>
					</ul>

					<ul class="nav secondary-nav">
						<li class="dropdown">
							<a class="dropdown-toggle" href="#">Dropdown</a>
						</li>
					</ul>
				</div>
			</div>
		</div>

		<div class="container">
		<s:actionerror/>
			<div style="margin-top: 50px;" class="span12">
				<form action="login.jspx" method="post">
					<fieldset>
			
						<legend>
							用户登录
						</legend>
						<div class="clearfix">
							<label for="xlInput">
								用户名：
							</label>
							<div class="input">
								<input id="xlInput" class="xlarge" type="text" size="30"
									name="user.username" maxlength="20">
								<span class="label important">用户名错误</span>
							</div>
						</div>
						<div class="clearfix">
							<label for="xlInput">
								密码：
							</label>
							<div class="input">
								<input id="xlInput" class="xlarge" type="password" size="30"
									name="user.password" maxlength="20">
								<span class="label important">密码错误</span>
							</div>
						</div>
					</fieldset>
					<input type="hidden" name="type" value="login" />
					<div class="actions">
						<button class="btn primary" type="button">
							登陆
						</button>
						<button class="btn" type="reset">
							取消
						</button>
					</div>
				</form>
			</div>

		</div>

	</body>
</html>
